home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 May: Tool Chest / Developer CD Series May 1996 (Tool Chest) (Apple Computer) (1996).iso / Sample Code / SCSI Samples 1.0 / SCSI Async Sample 06⁄15 ƒ / Read Me < prev    next >
Encoding:
Text File  |  1994-06-21  |  1.9 KB  |  50 lines  |  [TEXT/ttxt]

  1. SCSI Asynch Sample - a SCSI sample illustrating asynchronous I/O 
  2. Copyright © 1994, Apple Computer Inc. All Rights Reserved.
  3.  
  4. This is a simple sample that illustrates asynchronous I/O
  5. using SCSI Manager 4.3. It allows you to create independent
  6. I/O "threads" that use the asynchronous capabilities of SCSI
  7. Manager 4.3 to carry out asynchronous device read operations.
  8.  
  9. It compiles on the following environments:
  10.  
  11. Think C 7.0
  12. MPW 3.3.1
  13. MetroWerks DR3
  14.  
  15. •• This sample requires SCSI Manager 4.3.
  16. •• Warning: this sometimes hangs my system.
  17. ••  Another warning: this is barely functional and has
  18.       the worst human interface I've ever written.
  19.  
  20. Usage: enter test parameters, hit "Test" to use them. When you
  21. are finished, hit Finished and the test will run. For example,
  22. to run three asychronous tests on the device at host bus 1,
  23. SCSI target 3, click on the checkboxes, click on Test three times,
  24. then click Finish.
  25.  
  26. At this time, this program cannot be compiled in native mode for
  27. Power Macintosh because the "scsi.h" file has not been completely
  28. converted to the Universal Header format. However, the program
  29. does run in compatibility mode on Power Macintosh.
  30.  
  31. Note that, if you are compiling for MetroWerks, you must build
  32. the resources (in file "SCSIAsyncSample.µ.rsrc") by calling Rez
  33. - you can either build the MPW version first or make the
  34. MetroWerks option in the MakeFile.
  35.  
  36. Because these sources build a half-dozen version of the sample,
  37. (three compilers, 68000 native, 68000 on Power Mac, Power
  38. Mac native someday), some notes on compatibility are in order:
  39.  
  40. 1. The program was originally written and debugged using
  41.     Think C on a Quadra 950.
  42. 2. It was then compiled and tested using MPW 3.3.1.
  43. 3. It was then compiled and tested using MetroWerks DR3.
  44.  
  45. Each additional compiler found a different set of errors and
  46. warnings. In all cases, optional warnings were turned on.
  47.  
  48. Written by Martin Minow, MACDTS.
  49. minow@apple.com
  50. AppleLink: MINOW